feat: remember window position and startup states#185
feat: remember window position and startup states#185justnullname wants to merge 1 commit intomainfrom
Conversation
…artup - Updated AppStrings settings text for all languages to reflect the new functionality. - Modified `WM_CLOSE` to record `LastWindowWasFullscreen`, `LastWindowWasMaximized`, `LastWindowX`, and `LastWindowY` in `QuickView.ini`. - `GetWindowPlacement` is used to reliably determine the bounds rather than picking up full-screen dimensions from maximized states. - On startup, the configuration triggers checking of saved `LastWindow` settings. - Restored coordinate visibility is verified across displays using `MonitorFromRect` (better handling negative coords). - Applied `SW_MAXIMIZE` to `nCmdShow` during bootstrapping for smooth loading of maximized windows. - Fullscreen mode dynamically triggers upon creation.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Closes #123 (Assume issue number based on prompt nature).
The issue highlighted that QuickView wasn't restoring a user's chosen window coordinates if it wasn't opened in fullscreen.
This PR upgrades the
Remember last window sizesetting intoRemember last window size and position.It gracefully manages bounds loading from
.ini, checks if the saved screen boundaries are valid across disconnected screens, correctly initializes fullscreen contexts viaWM_COMMAND, and saves proper parameters throughGetWindowPlacementwithout stomping values from maximized dimensions.PR created automatically by Jules for task 4985793716670020909 started by @justnullname